package com.kongjs.application.annotation;

import com.kongjs.application.enums.OperationName;
import com.kongjs.application.enums.OperationType;

import java.lang.annotation.*;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface OperationLogging {
    /*
     * 操作名称
     * */
    OperationName operationName();

    /*
     * 操作类型
     * */
    OperationType operationType();

    /*
     * 记录响应
     * */
    boolean recordResponse() default true;
}
